namespace Tekdev.InputValidation
{
    using System;
    using System.Collections;
    using System.Reflection;

    [Serializable]
    internal class ParameterTypesCollection : CollectionBase
    {
		#region Constructor
        internal ParameterTypesCollection()
        {
        }
		#endregion

		#region CollectionBase Methods
		internal ParameterType this[int index]
		{
			get { return (ParameterType) List[index]; }
			set { List[index] = value; }
		}

        internal int Add(ParameterType parameter)
        {
            return base.List.Add(parameter);
        }

        internal void Remove(ParameterType parameter)
        {
            base.List.Remove(parameter);
        }
		#endregion
    }
}

